.class Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;
.super Ljava/lang/Object;
.source "UserInfoMainActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 265
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 269
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$500(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v1

    if-eqz v1, :cond_3b

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$600(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/model/CommonUserModel;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v1

    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v2}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$500(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v2

    if-ne v1, v2, :cond_3b

    .line 270
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$700(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "EnterUserInfoModifyPage"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 272
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getActivity()Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$800(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/app/Activity;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 273
    .local v0, "intent":Landroid/content/Intent;
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->startActivity(Landroid/content/Intent;)V

    .line 276
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_3b
    return-void
.end method
